[INFO] cloning repository https://github.com/DonoA/RustAutoSnake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DonoA/RustAutoSnake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonoA%2FRustAutoSnake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonoA%2FRustAutoSnake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 14c7b9cf87a61e69209b485b15d8d6a219cd3f87
[INFO] building DonoA/RustAutoSnake against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDonoA%2FRustAutoSnake" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/DonoA/RustAutoSnake on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/DonoA/RustAutoSnake
[INFO] finished tweaking git repo https://github.com/DonoA/RustAutoSnake
[INFO] tweaked toml for git repo https://github.com/DonoA/RustAutoSnake written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/DonoA/RustAutoSnake already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] dd4214c4122c4cbdb49ba705e40352e79b373b682afe66870d466440ac989036
[INFO] running `Command { std: "docker" "start" "-a" "dd4214c4122c4cbdb49ba705e40352e79b373b682afe66870d466440ac989036", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dd4214c4122c4cbdb49ba705e40352e79b373b682afe66870d466440ac989036", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd4214c4122c4cbdb49ba705e40352e79b373b682afe66870d466440ac989036", kill_on_drop: false }`
[INFO] [stdout] dd4214c4122c4cbdb49ba705e40352e79b373b682afe66870d466440ac989036
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ce4d2a99dde6eb461561931e9fd5ab5c6dee755609f9b9e2044d5c0705c7429b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ce4d2a99dde6eb461561931e9fd5ab5c6dee755609f9b9e2044d5c0705c7429b", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling num-bigint v0.2.3
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-complex v0.2.3
[INFO] [stderr]    Compiling ncurses v5.99.0
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling crossbeam-channel v0.4.0
[INFO] [stderr]    Compiling crossbeam-queue v0.2.0
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling crossbeam v0.7.3
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling backtrace v0.3.40
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling num v0.2.0
[INFO] [stderr]    Compiling rust_snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/main.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |             thread::sleep_ms(1);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/snake.rs:12:46
[INFO] [stdout]    |
[INFO] [stdout] 9  | fn get_snake_seg(curr: &Direction, next: Option<&Direction>) -> u64 {
[INFO] [stdout]    |                                                                 --- expected `u64` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 12 |             Some(Direction::RIGHT) => return ncurses::ACS_ULCORNER(),
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              expected `u64`, found `u32`
[INFO] [stdout]    |                                              help: you can convert a `u32` to a `u64`: `ncurses::ACS_ULCORNER().into()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/snake.rs:76:58
[INFO] [stdout]    |
[INFO] [stdout] 76 |             ncurses::mvhline(min_y + pt.y, min_x + pt.x, to_print, 1);
[INFO] [stdout]    |                                                          ^^^^^^^^ expected `u32`, found `u64`
[INFO] [stdout]    |
[INFO] [stdout] note: return type inferred to be `u32` here
[INFO] [stdout]   --> src/snake.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |                 return;
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 76 |             ncurses::mvhline(min_y + pt.y, min_x + pt.x, to_print.try_into().unwrap(), 1);
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_snake`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "ce4d2a99dde6eb461561931e9fd5ab5c6dee755609f9b9e2044d5c0705c7429b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce4d2a99dde6eb461561931e9fd5ab5c6dee755609f9b9e2044d5c0705c7429b", kill_on_drop: false }`
[INFO] [stdout] ce4d2a99dde6eb461561931e9fd5ab5c6dee755609f9b9e2044d5c0705c7429b
